﻿using System;

namespace BCEntity.Common.SystemExceptionRecord
{
    /// <summary>
    /// 系统异常记录
    /// </summary>
    public class SystemExceptionRecordEntity
    {
        /// <summary>
        /// 系统异常记录Id
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 异常名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 帮助链接
        /// </summary>
        public string HelpLink { get; set; }

        /// <summary>
        /// 异常发生位置
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 异常消息
        /// </summary>
        public string Message { get; set; }

        /// <summary>
        /// 堆栈跟踪
        /// </summary>
        public string StackTrace { get; set; }

        /// <summary>
        /// 特定异常编号
        /// </summary>
        public int HResult { get; set; }

        /// <summary>
        /// 发起数据
        /// </summary>
        public string Data { get; set; }

        /// <summary>
        /// 内部错误信息
        /// </summary>
        public string InnerException { get; set; }

        /// <summary>
        /// 错误发生时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
